package com.kfm.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Role implements Serializable {

    private Integer id;

    private String name;

    private String desc;

    //多对多映射，一个角色可以赋予多个用户
    private List<User> users;
}
